package cvsexample2;

public class PrimitiveTypes {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		/* Output a start message to the console */
		System.out.println("Example 2 - Primitive Types started");
		
		/* Declare and initialize a selection of primitive data types */
		byte myByte = '0';
		char myChar = '0';
		short myShort = '0';
		int myInt = 0;
		long myLong = 0;
		float myFloat = 0;
		double myDouble = 0;
		
		/* Write the values of the primitive data types to the console */
		System.out.println("Value of myByte = " + myByte);
		System.out.println("Value of myChar = " + myChar);
		System.out.println("Value of myShort = " + myShort);
		System.out.println("Value of myInt = " + myInt);
		System.out.println("Value of myLong = " + myLong);
		System.out.println("Value of myFloat = " + myFloat);
		System.out.println("Value of myDouble = " + myDouble);
		
		/* Output a completed message to the console */
		System.out.println("Example 2 - Primitive Types completed");
	}
}
